package com.twetec.cms.adapter.pc.backend;

import com.twetec.cms.adapter.pc.backend.interceptor.UniqueNameGenerator;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
@ComponentScan(nameGenerator = UniqueNameGenerator.class,
        basePackages = {
                "com.twetec.cms.adapter.pc.backend",
                "com.twetec.cms.common",
                "com.twetec.cms.model",
                "com.twetec.cms.service",
                "com.twetec.cms.dao",
                "com.zgh.usercenter.service" ,
                "com.zgh.rbac.service",
                "com.zgh.cache"
        })
public class MainApplication {

    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class, args);
    }

}
